home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / qrt.lzh / PATTERN.H < prev    next >
C/C++ Source or Header  |  1989-02-16  |  707b  |  27 lines

  1.  
  2. /**********************************************************
  3.  
  4.                 HEADER FILE FOR PATTERNS
  5.  
  6.  **********************************************************/
  7.  
  8. #define PATT_HEADER       0             /* header    */
  9. #define RECT_PATTERN      1             /* rectangle */
  10. #define CIRCLE_PATTERN    2             /* circle    */
  11. #define POLY_PATTERN      3             /* polygon   */
  12.  
  13.  
  14. /**********************************************************
  15.  
  16.             FUNCTIONS FOR PATTERN INTERSECTIONS
  17.  
  18.  **********************************************************/
  19.  
  20. typedef struct patt_data {
  21.   int (*PattHit)();                     /* did we hit the pattern ? */
  22. } PATT_DATA;
  23.  
  24. extern PATT_DATA PattData[];
  25.  
  26.  
  27.